package com.ruoyi.supermarket.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人气推荐对象 hot_product
 * 
 * @author 李其伟
 * @date 2023/10/24
 */
public class HotProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商品货号 */
    @Excel(name = "商品货号")
    private String sku;

    /** 上架状态 */
    @Excel(name = "上架状态")
    private Long publishStatus;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSku(String sku)
    {
        this.sku = sku;
    }

    public String getSku()
    {
        return sku;
    }
    public void setPublishStatus(Long publishStatus) 
    {
        this.publishStatus = publishStatus;
    }

    public Long getPublishStatus() 
    {
        return publishStatus;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sku", getSku())
            .append("publishStatus", getPublishStatus())
            .append("sort", getSort())
            .toString();
    }
}
